﻿using System;
using System.Collections.Generic;
using System.Text;

namespace VisionCloud.Domain.DtoModel.Ms
{
    public class AutoMaticResponseDto
    {
        /// <summary>
        /// 户型图Id
        /// </summary>
        public Guid HouseMapId { get; set; }

        /// <summary>
        /// 户型图底图
        /// </summary>
        public string Image_Base { get; set; }

        /// <summary>
        /// 对齐分割Excel
        /// </summary>
        public string ExcelPath { get; set; }

        /// <summary>
        /// 图片宽度
        /// </summary>
        public double ImageWidth { get; set; }

        /// <summary>
        /// 图片高度
        /// </summary>
        public double ImageHeight { get; set; }

        /// <summary>
        /// 站点列表
        /// </summary>
        public List<HouseMapPointModel> PointList { get; set; } = new List<HouseMapPointModel>();

        /// <summary>
        /// 内墙墙线模型路径（1.2）
        /// </summary>
        public string InnerWallLinePath { get; set; }
    }

    public class HouseMapPointModel
    {
        /// <summary>
        /// 站点序号
        /// </summary>
        public int PointId { get; set; }

        /// <summary>
        /// X方向偏移比例
        /// </summary>
        public double X { get; set; }

        /// <summary>
        /// Y方向偏移比例
        /// </summary>
        public double Y { get; set; }

        /// <summary>
        /// 原图X方向偏移量
        /// </summary>
        public int OffsetX { get; set; }

        /// <summary>
        /// 原图Y方向偏移量
        /// </summary>
        public int OffsetY { get; set; }
    }
}
